package com.iweb.mapper;

import com.iweb.model.Comment;

import java.util.List;

public interface CommentMapper {



    List<Comment> selectByUserid(Integer userId);

    List<Comment> selectByGameId(Integer gameId);


    void updateGreatByCommentId(Integer commentId);

    void updateBadByCommentId(Integer commentId);

    void insertComment(Comment comment);

    void deleteById(Integer commentId);

    void updateBadMinusById(Integer commentId);

    void updateGoodMinusById(Integer commentId);
}
